package com.guoxin.designpattern.chapter5;

/**
 * @author guoxin
 * @date 2019/9/4
 */
public class Client {
    public static void main(String[] args) {
        Gate gate = new Gate();
        new User("Tom", "Tianjin", gate).start();
        new User("Chan", "Chengdu", gate).start();
        new User("Bobo", "Beijing", gate).start();
    }
}
